<template>
  <el-checkbox
    class="z-check-box"
    v-bind="{ ...$props, ...$attrs }"
    v-on="$listeners"
    :label="label"
  >
    <slot></slot>
  </el-checkbox>
</template>

<script>
export default {
  name: "ZCheckBox",
  props: {
    label: {
      type: String,
      default: "复选框",
    },
  },
};
</script>

<style></style>
